import static org.junit.Assert.*;

import org.junit.Before;
import org.junit.BeforeClass;
import org.junit.Test;


public class TestClassOfMine 
{
	
	Card cardTest1;
	Card cardTest2;
	Card cardTest3;
	Deck deckTest1;
	@Before
	public void setUp()
	{
		cardTest1=new Card(10,3);
		cardTest2=new Card(10,3);
		cardTest3=new Card(0,0);
		deckTest1=new Deck();
	}
	@Test
	public void test1() 
	{
		assertNotNull(cardTest1);
	}
	@Test
	public void test2()
	{
		System.out.println(cardTest1.figure);
		System.out.println(cardTest2.figure);
		System.out.println(cardTest1.colour);
		System.out.println(cardTest2.colour);
		System.out.println(cardTest3.figure);
		System.out.println(cardTest3.colour);
		System.out.println(cardTest1.showCard());
		System.out.println("");
	}
	@Test
	public void test3() 
	{
		for (int i=0;i<52;i++)
			System.out.println(deckTest1.deck[i].showCard());
		for(int i=0;i<10;i++)	
			deckTest1.shuffleDeck();
		System.out.println("*************************");
		for (int i=0;i<52;i++)
			System.out.println(deckTest1.deck[i].showCard());
		int g=5;
		char k=(char)g;
		System.out.println(g);
		System.out.println((char)k+48);
		
	}

}
